from flask import Flask, request

app = Flask(__name__)


@app.route('/')
def index():
    page = request.args.get('page')
    counts = request.args.get('counts')
    return f'正在显示第 {page} 页内容, 每页有 {counts} 条'


if __name__ == '__main__':
    app.run()
